package com.atguigu.day06.test;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/5 8:44
 * @注释
 */
public class ArrayMorning {
    public static void main(String[] args) {
        int[] arr = {10, 20, 30};
        System.out.println("arr[0] = " + arr[0]);
        System.out.println("arr[2] = " + arr[2]);
        arr = new int[2];
        arr[0] = 33;
        arr[1] = 99;
        System.out.println("arr[0] = " + arr[0]);
        System.out.println("arr[2] = " + arr[2]);
    }
}
